package cn.com.lms.business.attendance.service;

import cn.com.lms.business.attendance.persistence.entity.Clockin;
import cn.com.lms.business.attendance.persistence.repository.ClockinRepository;
import com.bnzj.core.persistence.BaseService;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class ClockinService extends BaseService<ClockinRepository, Clockin, Long> {

    public List<Map<String, Object>> getShangbanClockinTime(String date) {
        List<Map<String, Object>> list = this.repository.getShangbanClockinTime(date);
        return list;
    }

    public List<Map<String, Object>> getXiabanClockinTime(String date) {
        List<Map<String, Object>> list = this.repository.getXiabanClockinTime(date);
        return list;
    }

}
